home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
animTests
/
tcbrotbox.S3D
< prev
next >
Wrap
Text File
|
2000-05-30
|
3KB
|
95 lines
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF Box01 Transform {
translation -0.3824 0.02415 -0.6492
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6039 0.6039 0.898
}
}
]
geometry MultiMesh {
coord Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
edgeVisibleIndex [
1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
1 1 0 -1 1 1 0 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
DEF Box01-ROT-INTERP TCBOrientationInterpolator {
key [ 0 0.5 1
]
keyValue [
0 1 0 0 0 0 0 0 0
0 0 1 -1.571 -0.264 0 0 0.65 0.746
0 1 0 0 0 0 0 0 0
]
}
ROUTE world-TIMER.fraction_changed TO Box01-ROT-INTERP.set_fraction
ROUTE Box01-ROT-INTERP.value_changed TO Box01.set_rotation
]
}
DEF Camera01 Viewpoint{
position -0.9421 6.743 126
orientation 0 0 0 0
fieldOfView 0.6024
description "Camera01"
}
DEF Box02 Transform {
translation -0.3824 0.02415 -0.6492
children [
Shape {
appearance Appearance {
material Material {
emissiveColor 0 0 1
}
}
geometry IndexedLineSet {
coord Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -2 3 1 0 -2 4 5 7 -2 7 6 4 -2 0 1 5 -2 5 4 0 -2 1 3 7 -2 7 5 1 -2 3 2 6 -2 6 7 3 -2
2 0 4 -2 4 6 2 -2
]
}
}
DEF Box02-ROT-INTERP OrientationInterpolator {
key [
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9
0.95 1 ]
keyValue [0 1 0 0 0 0 1 -0.2621 0 0 1 -0.5625 0 0 1 -0.8705 0 0 1 -1.15 0 0 1 -1.352
0 0 1 -1.476 0 0 1 -1.539 0 0 1 -1.564 0 0 1 -1.57 0 0 1 -1.571 0 0 1 -1.57 0 0 1 -1.565
0 0 1 -1.543 0 0 1 -1.487 0 0 1 -1.376 0 0 1 -1.195 0 0 1 -0.9346 0 0 1 -0.6099 0 0 1 -0.2841
0 1 0 0
]
}
ROUTE world-TIMER.fraction_changed TO Box02-ROT-INTERP.set_fraction
ROUTE Box02-ROT-INTERP.value_changed TO Box02.set_rotation
]
}